/**
 * [DragonApp.view.notice.ImageBar description]
 * 图库图像列表工具栏
 */
Ext.define('DragonApp.view.notice.ImageBar', {
    extend: 'Ext.toolbar.Toolbar',
    xtype: 'notice-image-bar',

    items: [{
        xtype: 'button',
        text: '批量选择',
        itemId: 'batdelete',
        tooltip: '批量选择',
        handler: 'onBatImgSelect',
        iconCls: 'x-fa fa-plus-square',
        width: 100
    }, '->', {
        xtype: 'textfield',
        name: 'searchfield',
        itemId: 'search_field',
        emptyText: '请输入筛选关键字',
        listeners: {
            specialKey: 'onTextFieldSpecialKeySearch'
        }
    }, {
        xtype: 'button',
        itemId: 'search_btn',
        text: '搜索',
        reference: 'search',
        iconCls: 'fa fa-search fa-lg buttonIcon',
        listeners: {
            click: 'onSearch'
        }
    }]
});